package com.xxx.ware.ware_manage_sys.bean.enums;

import lombok.Data;

/**
 * 响应状态枚举
 * @author Jxr
 * @date 2024-3-17
 */
public enum ResponseEnum {
    SUCCESS(200, "响应成功"),
    FAIL(400, "响应失败");

    private Integer code;
    private String msg;

    ResponseEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
